.amx-panelPage-header,
.amx-panelPage-footer {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 80px;
  display: block;
  color: #fff;
  font-weight: bold;
  /*text-shadow: 0 -1px 1px #2f54F7A;*/
  text-shadow : 0 0 white;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2F6BAC), color-stop(0.48, #214D81), color-stop(0.49, #2C588D), color-stop(1.00, #6D98C9));
}

.amx-panelPage-facet-header .amx-outputText,
.amx-panelPage-facet-footer .amx-outputText {
  color: #f00;
  display: inline-block;
  font-size: 20px;
  text-align: center;
  margin: 10px auto;
  padding: 0;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  outline: 0 !important;
}

/* ------ <amx:commandButton styleClass="hb"> ------ */
.amx-panelPage-facet-header .amx-commandButton.redButton {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-block;
   /* -webkit-box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.5);*/
    border: 1px solid black;
    border-radius: 5px;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    text-align: center;
    background-image: -webkit-gradient( linear, left bottom, right top, color-stop(0, #f12a29), color-stop(0.45, #801817), color-stop(0.46, #9b4549), color-stop(1.00, #ffaeb2));
    padding: 4px 4px 3px 4px;
    margin: 7px 5px 5px 5px;
    z-index: 3;
    float : right;
}
.amx-panelPage-facet-footer .amx-commandButton.blueButton {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-block;
   /* -webkit-box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.5);*/
    border: 1px solid black;
    border-radius: 5px;
    -webkit-tap-highlight-color: transparent;
    white-space: nowrap;
    text-align: center;
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0, #2F6BAC), color-stop(0.48, #214D81), color-stop(0.49, #2C588D), color-stop(1.00, #6D98C9));
    padding: 4px 4px 3px 4px;
    margin: 7px 5px 5px 5px;
    z-index: 3;
    float : left;
}
.amx-panelPage .amx-commandButton-icon {
    display: inline-block;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    padding: 0;
}

.amx-panelGroupLayout.headerPanel,
.amx-panelGroupLayout.footerPanel,
.amx-panelGroupLayout.leftPanel {
    margin : 2px;
}
/* ------  <amx:panelGroupLayout styleClass="headerGroup"> ------ */
.amx-panelGroupLayout.headerGroup,
.amx-panelGroupLayout.footerGroup,
.amx-panelGroupLayout.leftGroup{
    height : 70px;
    width : 70px;
    display:inline-block;
    -webkit-border-radius: 5px;
    overflow : hidden;
    background-color : white;
    padding : 0;
    margin : 5px;
}
.amx-panelGroupLayout.headerGroup .amx-panelGroupLayout.rectangle,
.amx-panelGroupLayout.footerGroup .amx-panelGroupLayout.rectangle,
.amx-panelGroupLayout.leftGroup .amx-panelGroupLayout.rectangle{
    background-color : white;

}
.amx-panelGroupLayout.headerGroup .amx-commandLink,
.amx-panelGroupLayout.footerGroup .amx-commandLink,
.amx-panelGroupLayout.leftGroup .amx-commandLink {
    margin : 0;
    padding : 0;
}
.amx-panelGroupLayout.headerGroup .amx-image.image,
.amx-panelGroupLayout.footerGroup .amx-image.image,
.amx-panelGroupLayout.leftGroup .amx-image.image{
    height : 43px;
    width : 43px;
    background : white;
    margin : 2px auto;
    padding : 0;
    overflow : hidden;
    
}

.amx-panelGroupLayout.headerGroup .amx-outputText.text, 
.amx-panelGroupLayout.footerGroup .amx-outputText.text,
.amx-panelGroupLayout.leftGroup .amx-outputText.text{
    display: block;
    font-size: 20px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    outline: 0 !important;
    width : 60px;
    color : black;
    font-size:small;
    font-weight: 100;
    text-shadow : 0 0 white;
}
.amx-panelGroupLayout.leftPanel {
    background : black;
}

/* ------ <amx:panelGroupLayout id="plam2" styleClass="group"> ------ */
.amx-panelGroupLayout.group {
    height : 100px;
    width : 100px;
    margin : 10px;
    display:inline-block;
    background-color : white;
    -webkit-border-radius: 5px;
    overflow : hidden;
}

.amx-panelGroupLayout.group .amx-panelGroupLayout.rectangle {
    background-color : white;    
}

.amx-panelGroupLayout.group .amx-image.image {
    height : 72px;
    width : 72px;
    background : white;
    margin : 2px auto;
}

.amx-panelGroupLayout.group .amx-outputText.text {
    width : 50px;
    color : #000;
    font-size:small;
    margin :  0 0 5px 0;
}


.amx-panelSplitter .amx-image.imageIcon {
    height : 30px; width : 30px;
}
.amx-panelSplitter .amx-outputText.textLabel {
    font-size : 12px;
}